         <ul class="file-tools clear">
           <li class="fedit"><%= link_to _('Edit'), edit_asset_path(asset), :title => _('Edit this file') %></li>
           <% if admin? || asset.user_id == current_user.id -%>
           <li class="fdelete"><%= link_to _('Delete'), asset_path(asset), :title => _('Delete this asset'), 
                                     :confirm => _('Are you sure you wish to delete this?'), :method => :delete %></li>
           <% end -%>
           <li class="fbucket"><%= link_to_remote(_('Add to bucket'), {:url => add_bucket_asset_path(asset)}, { :title => _('Add to bucket') }) %></li>
         </ul>
         <%= link_to(asset_image_for(asset, size || :tiny), asset.public_filename, :target => '_blank') %>
         <%= "<h4>#{truncate(asset.title, 20)}</h4>" if !asset.image? %>
         